package router

import (
	"github.com/gin-gonic/gin"
)

func Router() {
	r := gin.Default()
	r.Use(cors())
	auth := r.Group("/auth")
	authRouter(auth)
}

func authRouter(r *gin.RouterGroup) {
	r.POST("/add_task", addTask)
}
